package com.artPreter.service;

import com.artPreter.pojo.ArtistContentSection;
import com.artPreter.pojo.DepartContentSection;
import com.artPreter.pojo.EventExhibitionContentSection;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.artPreter.pojo.Article;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 文章内容表 服务类
 * </p>
 *
 * @author jarvis
 * @since 2024-11-21
 */
public interface IArticleService extends IService<Article> {


    List<Article> getRecommendArticles(int i);

    List<Article> getIndexArticles(int i);
    List<Article> getArticleList(String articleId);



    List<Article> getDepartRelateArticleList(DepartContentSection departContentSection, int i);

    List<Article> getArtistRelateArticleList(ArtistContentSection artistContentSection, int i);

    List<Article> getArticleByName(Article article);

    IPage<Article> getPageRelativeFull(Integer currentPage, Integer size, String contentId);

    IPage<Article> getDepartRelatedArticlePageList(DepartContentSection departContentSection, Integer currentPage);

    Article getArticleByNumberId(Integer aid);

    IPage<Article> getEventExhibitionRelatedArticlePageList(EventExhibitionContentSection eventExhibitionContentSection, Integer currentPage);

    List<Article> getArticleListById(Integer id);
}
